package com.ruoyi.baselibrary.infobaseindex.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基础库-指标库对象 info_base_index
 *
 * @author ruoyi
 * @date 2022-01-17
 */
public class InfoBaseIndex extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 系统编号
     */
    private Long id;

    /**
     * 目标类别
     */
    @Excel(name = "目标类别")
    private Long category;

    /**
     * 基础库类别id集合 数据库中没有该字段
     */
    private String categoryIds;

    /**
     * 库类别中文 数据库中没有该字段
     */
    private String categoryName;

    /**
     * 文件名称
     */
    @Excel(name = "文件名称")
    private String fileName;

    /**
     * 文件大小
     */
    @Excel(name = "文件大小")
    private String fileSize;

    /**
     * 下载地址
     */
    @Excel(name = "下载地址")
    private String fileUrl;

    /**
     * 文件类型
     */
    @Excel(name = "文件类型")
    private String fileType;

    /**
     * 文件状态 存在0 删除1
     */
    @Excel(name = "文件状态 存在0 删除1")
    private String fileStatus;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 备注
     */
    private String sjs;

    public String getSjs() {
        return sjs;
    }

    public void setSjs(String sjs) {
        this.sjs = sjs;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(String categoryIds) {
        this.categoryIds = categoryIds;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCategory(Long category) {
        this.category = category;
    }

    public Long getCategory() {
        return category;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileStatus(String fileStatus) {
        this.fileStatus = fileStatus;
    }

    public String getFileStatus() {
        return fileStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("category", getCategory())
                .append("fileName", getFileName())
                .append("fileSize", getFileSize())
                .append("fileUrl", getFileUrl())
                .append("fileStatus", getFileStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("fileType", getFileType())
                .append("sjs", getSjs())
                .toString();
    }
}
